<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户评论：<?php echo $arctitle?></title>
<link href="../templets/style/dede.css" rel="stylesheet" type="text/css" />
<link href="../templets/style/spage.css" rel="stylesheet" type="text/css" />
</head>
</head>
<body>

<div class="stop">
	<span class="toptitle">评论</span>
	<span class="toplink"><a href="/">返回主页</a></span></div>

<div class="smain">
	<div class="mtitle">
		<div class="mtname">对 <strong><a href='<?php echo $arcurl?>' style='font-size:11pt'><?php echo $arctitle?></a><a href="#"></a> </strong> 的评论</div>
	  <div class="mtlink"><!--<a href="#"></a>--></div>
	</div>
	<div class="mbox">
  <!--评论-->
		<div class="comment">
			<!--评论:标题-->
			<div class="commenttitle">
				<div class="title"><strong>最新评论</strong></div>
			</div>
			<!--评论内容-->
			<div class="commentbox">
				<?php 
$mylist = $dlist->GetDataList();
while($row = $mylist->GetArray('dm'))
{
?>
				<dl>
					<dt><?php echo $row['username']?>(<?php echo  ereg_replace("[^\.]{1,3}$","*",$row['ip']);?>)   发表于：<?php echo strftime("%y-%m-%d %H:%M:%S",$row['dtime'])?>                 	<a href="feedback.php?fid=<?php echo $row['ID']?>&action=good&arcID=<?php echo $arcID?>"><img src="../templets/images/good.gif" border="0"></a>[<?php echo $row['good']?>]
                	<a href="feedback.php?fid=<?php echo $row['ID']?>&action=bad&arcID=<?php echo $arcID?>"><img src="../templets/images/bad.gif" border="0"></a>[<?php echo $row['bad']?>]</dt>
					<dd><span style="word-break: break-all"><?php echo $row['msg']?></span></dd>
				</dl>
                <?php 
}
?>

		    <!--分页-->
				<div class="pages">
					<div class="plist">
                    <?php echo $dlist->GetPageList(7);?></div>
			  </div>

			</div>
<!--发表评论:标题-->
			<div class="posttitle"><strong>发表评论</strong></div>
			<!--发表评论-->
			<div class="postbox">
			  <div class="txtbox">
              <table width="100%" border="0" cellpadding="1" cellspacing="1" style="margin-top:6px">
              <form action="feedback.php" method="post" name="feedback">
                <input type="hidden" name="action" value="send">
                <input type="hidden" name="arcID" value="<?php echo $arcID?>">
                <input type="hidden" name="arcurl" value="<?php echo $arcurl?>">
                <input type="hidden" name="arctitle" value="<?php echo $arctitle?>">
                <input type="hidden" name="feedid" value="<?php echo $feedid?>">
				        <input type="hidden" name="isconfirm" value="yes">
                <tr>
                  <td height="24" bgcolor="#F4F9F2">　<strong>§发表新评论：</strong></td>
                </tr>
                <tr> 
                  <td bgcolor="#FFFFFF">　用户名： 
                    <input name="username" type="text" id="username" size="10">
                    （<a href="../member/index_do.php?fmdo=user&dopost=regnew" target="_blank"><u>新注册</u></a>） 
                    密码： 
                    <input name="pwd" type="text" id="pwd" size="10"> 
                    <input name="notuser" type="checkbox" id="notuser" value="1">
                    匿名评论                    </td>
                </tr>
                <tr>
                  <td bgcolor="#FFFFFF"><table width="300" border="0" cellspacing="1" cellpadding="1">
                    <tr>
                      <td>　验证码：
                      <input name="validate" type="text" id="validate" size="10">
                      <img src='../include/vdimgck.php' width='50' height='20'>
                      </td>
                    </tr>
                  </table></td>
                </tr>
                <tr> 
                  <td bgcolor="#FFFFFF">　评论内容：(不能超过500字，请自觉遵守互联网相关政策法规)</td>
                </tr>
                <tr> 
                  <td height="70" align="center" bgcolor="#FFFFFF"><textarea name="msg" rows="4" id="msg" style="width:98%"></textarea></td>
                </tr>
                <tr>
                  <td height="40" align="center" bgcolor="#FFFFFF"><input type='button' value='发表评论' name='sb' onclick='javascript:if(document.feedback.msg.value!=&quot;&quot;) document.feedback.submit(); else alert(&quot;评论内容不能为空！&quot;);' class="submit" /></td>
                </tr>
              </form>
            </table>
				</div>

			</div>
		</div>

	</div>
</div>


</body>
</html>
